package com.ktwlsoft.archivemanage.payload.menu;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.Size;

public class AddMenuRequest {

    /**上级Id**/
    @ApiModelProperty("上级Id")
    private Long pId;

    /**菜单名称**/
    @ApiModelProperty("菜单名称")
    @Size(max = 30, message = "菜单字符超长")
    private String menuName;

    /**菜单编码**/
    @ApiModelProperty("菜单编码")
    @Size(max = 30, message = "菜单编码超长")
    private String menuCode;

    /**树层级**/
    @ApiModelProperty("树层级")
    private Integer treeLevel;

    /**备注**/
    @ApiModelProperty("备注")
    @Size(max = 50, message = "备注超长")
    private String remark;
}
